package com.soul.doc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.soul.doc.bean.dto.SingerAddDto;
import com.soul.doc.bean.dto.SingerSearchDto;
import com.soul.doc.bean.dto.SingerUpdateDto;
import com.soul.doc.bean.po.SingerPo;
import com.soul.common.service.CommService;
import com.soul.doc.bean.vo.SingerVo;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sws
 * @since 2023-11-19 11:05:21
 */
public interface SingerService extends CommService<SingerPo> {

    IPage<SingerVo> querySingerList(Integer page, Integer size, SingerSearchDto searchDto);

    void addSinger(SingerAddDto addDto);

    void updateSinger(SingerUpdateDto updateDto);

    void deleteSinger(List<Long> ids);

    SingerVo getSinger(Long id);

    List<SingerVo> querySingerListAll();

    List<SingerVo> getSingerVosByIds(Collection<Long> singerIds);

    IPage<SingerVo> queryHotSingerList(Integer page,Integer size, SingerSearchDto searchDto);

    List<Long> getSingerIdsByKeyWord(String name);
}
